<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// 播放器路由
Route::get('player', 'player/index');
Route::post('player', 'player/index');
Route::post('player/recordProgress', 'player/recordProgress');

// 会员路由
Route::get('member/login', 'member/login');
Route::post('member/login', 'member/doLogin');
Route::get('member/register', 'member/register');
Route::post('member/doRegister', 'member/doRegister');
Route::get('member/logout', 'member/logout');
Route::get('member/center', 'member/center');


Route::post('seckill', 'Seckill/seckill');
Route::get('seckill/result', 'Seckill/result');
Route::get('seckill/stock', 'Seckill/stock');
Route::get('seckill/list', 'Seckill/list');
Route::get('seckill/detail', 'Seckill/detail');
Route::post('seckill/optimized', 'Seckill/optimizedSeckill');